#include "AMGraph.h"
#include "ALGraph.h"
void question1(){
    AMGraph G;
    createDAMGraph(G);
    BFS(G);
}

void question2(){
    ALGraph G;
    createUDALGraph(G);
    printf("\n创建完毕\n");
    CSTree T;
    DFSForest(G, T);
    printf("\n遍历\n");
    preOrder(T);
}

int main(){
    // question1();
    question2();
    return 0;
}